<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
    String actionURL = path + "/cms/consumables/doQuery.do";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>智慧酒店服务应用平台</title>
<link href="css/css-main.css" rel="stylesheet" type="text/css" />
<link rel=stylesheet type=text/css href="css/msgbox/jquery.msgbox.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/fusioncharts/FusionCharts.js"></script>
<script type="text/javascript" src="js/msgbox/jquery.dragndrop.min.js"></script>
<script type="text/javascript" src="js/msgbox/msgbox.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script language="javascript" type="text/javascript" src="<%=basePath%>js/datepicker/WdatePicker.js"></script>
<script type="text/javascript">
	/*******************************************************************************
	 * 全选  fromName form名称  boxname 控件名称
	 ******************************************************************************/
	function selectAll(fromName, boxname) {
		var f = document.forms[fromName];
		for ( var i = 0; i < f.elements[boxname].length; i++) {
			if (f.elements[i].name == boxname) {
				f.elements[i].checked = !f.elements[i].checked;
			}
	
		}
	}
	
	function showChart()
	{
		var easilyConsChart = new FusionCharts("js/fusioncharts/FCF_MSLine.swf", "易耗品分析图表",
			"600", "350");
		//设置数据文件
		easilyConsChart.setDataURL("jsp/cms/service/consumables/consumablesInfo/charts/charts_easily_cons.xml");
		//渲染
		easilyConsChart.render("easilyConsChart");
	}
</script>
</head>
<body onload="showChart();">
	<div class="main-con">
		<!--//导航位置层-->

		<div class="main-bar">
			<span class="bar-position">当前位置：<a href="#">易耗品管理</a>
				&gt;&gt; 易耗品统计分析</span>
		</div>
		<div class="cont_right_cont">
			<fieldset>
      <legend>图表区</legend>
      <div>
      
      	<table width="100%" border="0" cellpadding="8" cellspacing="8"
					class="datalist">
					<tr>
						<td bgcolor="#EEF7FE" width="100%">
							<div id="easilyConsChart"></div>
						</td>
					</tr>
		</table>
      <table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
	    <td align="right"><table border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td>
	        <input name="consumablesReqRecord.consumingDate" type="text" class="Wdate" onclick="WdatePicker({skin:'whyGreen',maxDate:'%y-%M-%d}'});" />
	        </td>
	        <td>到</td>
	        <td><input name="consumablesReqRecord.consumingDate" type="text" class="Wdate" onclick="WdatePicker({skin:'whyGreen',maxDate:'%y-%M-%d}'});" /></td>
	        <td><input name="button" type="button" class="data-searchbtn" id="button" value="查 询"/></td>
	      </tr>
	    </table></td>
	    </tr>
</table>
      </div>
      </fieldset>
			</div>
		</div>
</body>
</html>
